const mongoose=require ('mongoose')
let personSchema =new mongoose.Schema({
	name:String,
	age:Number
})

//这是一个模型文件
module.exports =mongoose.model('Person',personSchema)